<template>
<div class="top">
  <div class="top_center">
    <div class="top_left">
      <div class="top_left1">
        <div>
          <img src="../assets/image/home/home (9).png" class="top_img" /><span class="top_city">福建</span>
        </div>
        <span class="top_cit">福建高校教材线上采选平台</span>
      </div>
    </div>
    <div class="top_right">
      <div class="right_1">
        欢迎光临，请先<span @click="dl">登录!</span>
      </div>
      <div class="right_2">
        <router-link to="/index/my" tag="span">个人中心</router-link><b>|</b>
        <router-link to="/index/my" tag="span">客户服务</router-link><b>|</b>
        <router-link to="/index/my" tag="span">我的订单</router-link><b>|</b>
        <div class="right_cent">服务商/院校后台登录</div>
      </div>
    </div>
  </div>
</div>
</template>

<script>
export default {
  methods: {
    dl() {
      this.$router.push('/index/login')
    }
  }
}
</script>

<style lang="scss" scoped>
.top {
  width: 100%;
  height: 38px;
  background: #e8e8e8;

  .top_center {
    width: 1310px;
    height: 38px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;

    .top_left1 {
      line-height: 38px;
      display: flex;
    }

    .top_img {
      width: 11px;
      height: 13px;
      margin-left: 80px;
    }

    .top_city {
      font-size: 10px;
      margin-left: 3px;
      margin-right: 13px;
    }

    .top_cit {
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #000000;
    }

    .top_right {
      display: flex;
      align-items: center;

      .right_1 {
        font-size: 12px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #000000;
        margin-right: 45px;

        span {
          color: #ff0000;
        }
      }

      .right_2 {
        display: flex;
        justify-content: center;
        color: #ff0000;

        span {
          font-size: 12px;
          font-family: Microsoft YaHei;
          font-weight: 400;
          color: #ff0000;
        }

        b {
          margin: 0 7px;
          width: 2px;
          font-size: 12px;
        }

        .right_cent {
          width: 120px;
          height: 20px;
          font-size: 10px;
          background: #221815;
          border-radius: 5px;
          text-align: center;
          line-height: 20px;
          font-weight: 400;
          margin-left: 5px;
          color: #ffffff;
        }
      }
    }
  }
}
</style>
